<?php

/**
 * XHTML_Core_Attributes, xhtml_lib
 * 
 * This file contains the source code for the XHTML_Core_Attributes interface.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

/**
 * The XHTML_Core_Attributes specifies the focus attributes getters and setters
 * for a xhtml-strict php-handler implementation.
 */
interface XHTML_Core_Attributes {
    
    /**
     * Sets the unique identifier for this element.
     *
     * @param string $id
     */
    function setId($id);
    
    /**
     * Gets the unique identifier that has been set for this element.
     * 
     * @return string
     */
    function getId();
    
    /**
     * Sets the class_rule or style_rule for this element.
     * i.e. The CSS pseudo-class name.
     *
     * @param string $className
     */
    function setClass($class);
    
    /**
     * Gets the class_rule or style rule that has been set for this element.
     *
     * @return string
     */
    function getClass();
    
    /**
     * Sets the inline style definition for this element.
     *
     * @param string $style
     */
    function setStyle($style);
    
    /**
     * Gets the inline style definition that has been set for this element.
     *
     * @return string
     */
    function getStyle();
    
    /**
     * Sets the title text for this element.
     *
     * @param string $title
     */
    function setTitle($title);
    
    /**
     * Gets the title text that has been set for this element.
     *
     * @return string
     */
    function getTitle();
    
}

?>